"use strict";
cc._RF.push(module, '3ccb3Y9lzZIxITuWJV21svH', 'CraneAlertView');
// Script/CraneAlertView.js

"use strict";

cc.Class({
  extends: cc.Component,

  properties: {

    closeBtn: cc.Button,
    sureSuccessbtn: cc.Button,
    bestLabel: cc.Label,
    wxNumberPhone: cc.String

  },

  closeView: function closeView() {

    this.node.active = false;
    wx.setClipboardData({
      data: this.wxNumberPhone,
      success: function success(res) {

        console.log("剪贴板复制成功", res);
      }
    });
  },

  init: function init(coinNumber) {

    console.log("消耗的星币", coinNumber);
    this.wxNumberPhone = coinNumber;
    this.bestLabel.getComponent(cc.Label).string = coinNumber + "星币";
  },
  start: function start() {}
}

// update (dt) {},
);

cc._RF.pop();